package com.sugar.persistence.oa.hr;

import java.util.LinkedHashMap;
import java.util.List;

import com.sugar.base.query.PageModel;
import com.sugar.domain.oa.hr.Organization;

public interface IOrganization {

	public void saveOrgDao(Organization org) throws RuntimeException ;
	
	public void deleteOrgDao(Organization org) throws RuntimeException ;
	
	public void deleteSelectOrgDao(Object[] ids) throws RuntimeException ;
	
	public void updateOrgDao(Organization org) throws RuntimeException ;
	
	public Organization loadOrgByIdDao(String id) throws RuntimeException ;
	
	public List<Organization> findOrgDao(String queryString,String whereStr,Object[] param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<Organization> getScorllOrgDao(String queryString,String whereStr,Object[] param,int firstPage,int pageSize,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	
	
}
